MoreExam
1. Question Content...
EXPLANATION
Answer: X - EXPLANATION Content.
Question1: A Developer is developing an application that manages financial transactions. To improve security, multi- factor authentication (MFA) will be required as part of the login protocol.What services can the Developer use to meet these requirements?
Question2: A serverless application uses an API Gateway and AWS Lambda.Where should the Lambda function store its session information across function calls?
Question3: A Developer has setup an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. A Lambda function has been configured to process these records.In which order will these records be processed?
Question4: A company is migrating its on-premises database to Amazon RDS for MySQL. The company has read- heavy workloads, and wants to make sure it re-factors its code to achieve optimum read performance for its queries.How can this objective be met?
Question5: A static website is hosted in an Amazon S3 bucket. Several HTML pages on the site use JavaScript to download images from another Amazon S3 bucket. These images are not displayed when users browse the site.What is the possible cause for the issue?
Question6: A Developer has created a software package to be deployed on multiple EC2 instances using IAM roles.What actions could be performed to verify IAM access to get records from Amazon Kinesis Streams?(Select TWO.)
Question7: A Developer needs temporary access to resources in a second account.What is the MOST secure way to achieve this?
Question8: A Developer has created a large Lambda function, and deployment is failing with the following error:ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Unzipped size must be smaller than XXXXXXXXX bytes', where XXXXXXXXX is the current Lambda limit What can the Developer do to fix this problem?
Question9: A current architecture uses many Lambda functions invoking one another as large state machine. The coordination of this state machine is legacy custom code that breaks easily.Which AWS Service can help refactor and manage the state machine?
Question10: A Developer created a Lambda function for a web application backend. When testing the Lambda function from the AWS Lambda console, the Developer can see that the function is being executed, but there is no log data being generated in Amazon CloudWatch Logs, even after several minutes.What could cause this situation?
Question11: Where should an Elastic Beanstalk configuration file named healthcheckur1.configbe placed in the application source bundle?
Question12: A Developer is writing transactions into a DynamoDB table called "SystemUpdates" that has 5 write capacity units.Which option has the highest read throughput?
Question13: An application under development is required to store hundreds of video files. The data must be encrypted within the application prior to storage, with a unique key for each video file.How should the Developer code the application?
Question14: An application reads data from an Amazon DynamoDB table. Several times a day, for a period of 15 seconds, the application receives multiple ProvisionedThroughputExceeded errors.How should this exception be handled?
Question15: An application is designed to use Amazon SQS to manage messages from many independent senders.Each sender's messages must be processed in the order they are received.Which SQS feature should be implemented by the Developer?
Question16: The Lambda function below is being called through an API using Amazon API Gateway. The average execution time for the Lambda function is about 1 second. The pseudocode for the Lambda function is as shown in the exhibit.What two actions can be taken to improve the performance of this Lambda function without increasing the cost of the solution? (Select two.)
Question17: An application will ingest data at a very high throughput from many sources and must store the data in an Amazon S3 bucket. Which service would BEST accomplish this task?
Question18: An application on AWS is using third-party APIs. The Developer needs to monitor API errors in the code, and wants to receive notifications if failures go above a set threshold value.How can the Developer achieve these requirements?
Question19: A Developer is creating an application that needs to locate the public IPv4 address of the Amazon EC2 instance on which it runs. How can the application locate this information?
Question20: A game stores user game data in an Amazon DynamoDB table. Individual users should not have access to other users' game data. How can this be accomplished?
Question21: When writing a Lambda function, what is the benefit of instantiating AWS clients outside the scope of the handler?
Question22: An application has hundreds of users. Each user may use multiple devices to access the application. The Developer wants to assign unique identifiers to these users regardless of the device they use.Which of the following methods should be used to obtain unique identifiers?
Question23: A company wants to migrate its web application to AWS and leverage Auto Scaling to handle pear workloads. The Solutions Architect determined that the best metric for an Auto Scaling event is the number of concurrent users.Based on this information, what should the Developer use to autoscale based on concurrent users?
Question24: Amazon S3 has the following structure: S3://BUCKET/FOLDERNAME/FILENAME.zip Which S3 best practice would optimize performance with thousands of PUT request each second to a single bucket?
Question25: During non-peak hours, a Developer wants to minimize the execution time of a full Amazon DynamoDB table scan without affecting normal workloads. The workloads average half of the strongly consistent read capacity units during non-peak hours.How would the Developer optimize this scan?
Question26: A deployment package uses the AWS CLI to copy files into any S3 bucket in the account, using access keys stored in environment variables. The package is running on EC2 instances, and the instances have been modified to run with an assumed IAM role and a more restrictive policy that allows access to only one bucket. After the change, the Developer logs into the host and still has the ability to write into all of the S3 buckets in that account.What is the MOST likely cause of this situation?
Question27: Given the source code for an AWS Lambda function in the local store.pycontaining a handler function called get_storeand the following AWS CloudFormation template:What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?
Question28: A company wants to implement a continuous integration for its workloads on AWS. The company wants to trigger unit test in its pipeline for commits-on its code repository, and wants to be notified of failure events in the pipeline.How can these requirements be met?
Question29: A Developer is creating a Lambda function and will be using external libraries that are not included in the standard Lambda libraries.What action would minimize the Lambda compute time consumed?
Question30: A Developer is receiving HTTP 400: ThrottlingExceptionerrors intermittently when calling the Amazon CloudWatch API. When a call fails, no data is retrieved.What best practice should first be applied to address this issue?
Question31: A Developer has an application that can upload tens of thousands of objects per second to Amazon S3 in parallel within a single AWS account. As part of new requirements, data stored in S3 must use server side encryption with AWS KMS (SSE-KMS). After creating this change, performance of the application is slower.Which of the following is MOST likely the cause of the application latency?
Question32: An application stores images in an S3 bucket. Amazon S3 event notifications are used to trigger a Lambda function that resizes the images. Processing each image takes less than a second.How will AWS Lambda handle the additional traffic?
Question33: A Developer is testing a Docker-based application that uses the AWS SDK to interact with Amazon DynamoDB. In the local development environment, the application has used IAM access keys. The application is now ready for deployment onto an ECS cluster.How should the application authenticate with AWS services in production?
Question34: For a deployment using AWS CodeDeploy, what is the run order of the hooks for in-place deployments?
Question35: A Developer is writing a Linux-based application to run on AWS Elastic Beanstalk. Application requirements state that the application must maintain full capacity during updates while minimizing cost.Which type of Elastic Beanstalk deployment policy should the Developer specify for the environment?
Question36: A large e-commerce site is being designed to deliver static objects from Amazon S3. The Amazon S3 bucket will server more than 300 GET requests per second. What should be done to optimize performance? (Select TWO.)